From: Stefan Monnier Date: Tue, 28 Apr 2009 19:00:38 +0000 (+0000) Subject: (load-library): Improve docstring. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~720 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a12c71a98dee6caad970cccbe4af47ea4a4b5e46;p=emacs.git (load-library): Improve docstring. --- diff --git a/lisp/files.el b/lisp/files.el index 878f8a3e333..b14ccc2be5c 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -829,12 +829,11 @@ Return nil if COMMAND is not found anywhere in `exec-path'." (locate-file command exec-path exec-suffixes 1)) (defun load-library (library) - "Load the library named LIBRARY. - -LIBRARY should be a relative file name of the library, a string. -It can omit the suffix (a.k.a. file-name extension). - -This is an interface to the function `load'." + "Load the Emacs Lisp library named LIBRARY. +This is one of two interfaces (the other being `load-file') to the underlying +function `load'. The library actually loaded is searched for in `load-path' +with or without the `load-suffixes' (as well as `load-file-rep-suffixes'). +See Info node `(emacs)Lisp Libraries' for more details." (interactive (list (completing-read "Load library: " (apply-partially 'locate-file-completion-table